<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="../taglibs.jsp"%>
	<script type="text/javascript" src="../js/jquery-3.1.1.min.js"></script>
	<script type="text/javascript" src="../js/jquery.easyui.min.js"></script>
	<script type="text/javascript" src="../My97DatePicker/WdatePicker.js"></script>
	
	<script type="text/javascript">
		$(function() {
			$("#joinDate").prop("value",$("#studate").html());
		})
	</script>


   <link href="../css/four.css" rel="stylesheet" type="text/css" />
	<!-- 包含等待框 -->
	<form action="uptOssstu.do" method="post">
	<table width="100%" border="0" cellpadding="0" cellspacing="0">
		<tr valign="top">
			<td bgcolor="#FFFFFF">
			    <table width="96%" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#aec3de">
					
					<tr align="left" bgcolor="#F2FDFF">
						<td colspan="2" class="optiontitle">所属班级:${job.dpt.depname}  <input name="jobid" type="hidden" value="${job.jobid}"> </td>
					</tr>
					<tr><td><input type="hidden" name="ossstuid" value="${ossstu.ossstuid }"> </td> </tr>
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">学生姓名</td>
						<td align="left" bgcolor="#FFFFFF"><input name="stuname" value="${ossstu.stuname}"></td> 
					</tr>
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">学生电话</td>
						<td align="left" bgcolor="#FFFFFF"><input name="stucellphone" value="${ossstu.stucellphone}"></td> 
					</tr>
						<tr align="center">
						<td align="center" bgcolor="#ebf0f7">学生年龄</td>
						<td align="left" bgcolor="#FFFFFF"><input name="ossstuage" value="${ossstu.ossstuage}"></td> 
					</tr>
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">入学时间</td>
						<td align="left" bgcolor="#FFFFFF">
						<input type="text" id="joinDate" name="joinDate" onClick="WdatePicker({dateFmt:'yyyy-MM-dd'})">
						<td hidden="true" id="studate"><fmt:formatDate value="${ossstu.joinDate}" pattern="yyyy-MM-dd"/></td>
						</td> 
					</tr>
					<tr align="center">
						<td align="center" bgcolor="#ebf0f7">班级</td>
						<td align="left" bgcolor="#FFFFFF">
						<select name="clzid" id="slkt_dps" >
						    <option  value="0" >未选择</option>
						    <c:forEach items="${classes}" var="cla">
						       <option  ${ossstu.clzid==cla.clzid?"selected='selected'":""}  value="${cla.clzid}">${cla.clzname}</option>
						    </c:forEach>
						 </select>
				   </tr>
				</table>
			</td>
		</tr>
		<tr>
		  <td align="center">  <input type="submit" value="修改"> &nbsp;&nbsp;&nbsp; <input type="button" onclick="javascript:history.go(-1)" value="返回">    </td>
		</tr>
	</table>
  </form>